package Action;

import Fly.Web.Action.Handler;
import Fly.Web.Resource.Dir;
import Fly.Web.Resource.File;

public class test extends Handler {
    public boolean response;
    
    @Override
    public void Handle() {
//        setTemplate("/html/test.html");
//        File f = new File();
//        Dir dir = new Dir();
//        String name = Fly.Util.Text.Random(11);
//        dir.orderByFileName("/upload", name, 5, 2);
//        if(f.prepareUpload(UploadFile.get("upload"),dir.Dir, name)){
//            while(f.isExist()){
//                name = Fly.Util.Text.Random(11);
//                dir.orderByFileName("/upload", name, 5, 2);
//                f.prepareUpload(UploadFile.get("upload"),dir.Dir, name);
//            }
//            dir.Create();
//            response = f.Upload();
//        }
    }
}